<!-- 推荐班级 --> 
  {% set RecommendClassrooms = data('RecommendClassrooms',{'count':config.count|default(4)})%} 
  {% if RecommendClassrooms %} 
    <section class="class-section {{config.background|default("")}}"> 
      <div class="container"> 
        <div class="text-line"> 
          <h5> 
            <span>{{config.title|default("推荐班级")}}</span> 
            <div class="line"></div> 
          </h5> 
          <div class="subtitle">{{ config.subTitle|default(config.defaultSubTitle) }}</div> 
        </div> 
        <div class="recommend-class-list row"> 
          {% for classroom in RecommendClassrooms %} 
            <div class="col-md-3 col-sm-6"> 
               {% include 'ClassroomBundle:Classroom:class-grid.html.twig' %} 
            </div> 
          {% endfor %} 
        </div> 
        <div class="text-center mvl"> 
          <a href="{{ path('classroom_explore') }}" class="btn btn-default btn-lg"> 
            更多{{ setting('classroom.name')|default("班级") }} <i class="mrs-o es-icon es-icon-chevronright"></i> 
          </a> 
        </div> 
      </div> 
    </section> 
  {% endif %} 